package com.cml.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author cml
 * @create 2021/4/29 16:08
 */
@Mapper
public interface AccountDao {
    /**
     * 扣减账户余额
     */
    void decease(@Param("userId") Long userId,@Param("money") BigDecimal money);
}
